package com.example.jwtauthdemo.util;

import org.springframework.stereotype.Component;

@Component
public class Random6 {
  //生成随机六位数
    public String getRandNum() {
        return (int)((Math.random()*9+1)*100000)+"";
    }

}
